package org.red_cross_service.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 
 * @TableName rc_platform
 */
@Entity
@TableName(value ="rc_platform")
@Data
@Accessors(chain = true)
public class PlatformEntity implements Serializable {
    /**
     * 平台信息id
     */
    @Id
    @TableId(value = "platform_info_id")
    private Integer platformInfoId;

    /**
     * 标题
     */
    @TableField(value = "title")
    private String title;

    /**
     * 内容 富文本
     */
    @TableField(value = "content")
    private String content;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}